package com.xlb.model.vo.category;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @author 小聋包
 * @date 2024/5/17
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "删除分类请求参数")
public class DeleteCategoryReqVO {

    @NotNull(message = "分类id不能为空")
    @ApiModelProperty(value = "分类id")
    private Long id;
}
